package com.kingint.mbg.bas.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 酒店表
 * </p>
 *
 * @author wxh
 * @since 2020-12-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BasHotel对象", description="酒店表")
public class BasHotel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "酒店类型")
    @TableField("hotle_type")
    private Integer hotleType;

    @ApiModelProperty(value = "酒店名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "房间数量")
    @TableField("room_num")
    private Integer roomNum;

    @ApiModelProperty(value = "小度对应酒店id")
    @TableField("dueros_id")
    private Long duerosId;

    @ApiModelProperty(value = "本地服务地址")
    @TableField("server_ip")
    private String serverIp;

    @TableField("created_at")
    private Date createdAt;

    @ApiModelProperty(value = "经度")
    @TableField("longitude")
    private Double longitude;

    @ApiModelProperty(value = "纬度")
    @TableField("latitude")
    private Double latitude;


}
